package com.oa.mappers;


import com.oa.po.Leave;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LeaveMapper {
    //添加请假申请
    void addLeave(Leave leave);

    //通过用户名查询
    List<Leave> findByUsername( String user_name);
}
